package com.joysuch.wwyt.bp.bean.investigate;

import com.joysuch.wwyt.bp.bean.investigate.vo.JobBeanVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;


@Data
public class PlanDetail {

    @ApiModelProperty("计划id")
    private Long id;
    @ApiModelProperty("风险点名称")
    private String riskPointName;
    @ApiModelProperty("排查岗位名称")
    private String checkJobName;
    @ApiModelProperty("排查岗位Id")
    private Long checkJobId;
    @ApiModelProperty("排查岗位集合")
    private List<JobBeanVo> checkJobList;
    @ApiModelProperty("指定人员集合")
    private List<Long> userIdList;
    @ApiModelProperty("周期单位: 时、日、周、月、年 ")
    private String periodUnit;
    @ApiModelProperty("小时/日/月 周期设置,eg: 按天 每1天")
    private Integer periodDays;
    @ApiModelProperty("日 周期设置,eg: 按周 周一")
    private List<Integer> periodList;
    @ApiModelProperty("开始时间")
    private Date planStartTime;
    @ApiModelProperty("结束时间")
    private Date planEndTime;
    @ApiModelProperty("排查频次描述")
    private String checkRateDescribe;
    @ApiModelProperty("删除标记")
    private String deleteFlag;
    @ApiModelProperty("启用/停用")
    private String initiateStatus;
    
    @ApiModelProperty("执行单位(0：人员  1：岗位   2：部门)")
    private Integer executiveUnit;
    @ApiModelProperty("排查单位id(部门id或者岗位id)")
    private Long unitId;

    @ApiModelProperty(value = "排查类型")
    private Long troubleshootingType;

    @ApiModelProperty(value = "排查类型")
    private String troubleshootingTypeName;

    @ApiModelProperty("首次任务时间")
    private String firstTaskTime;

    private String checkJobJson;


}
